package edu.sctu.zhuyingzhi.month201505.day20150530;

import java.util.List;

/**
 * Created by user11 on 2015/5/17.
 */
public class Student {
    private int number;
    private String name;
    private String sex;
    private int age;
    private String adress;
    private int gradle;
    private List<String> course;
    boolean is_sanhao = false;

    public Student(int number, String name, int age, String sex, String adress, int gradle, List<String> course) {
        this.adress = adress;
        this.number = number;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.gradle = gradle;
        this.course = course;
        if (gradle > 90)
            this.is_sanhao = true;
    }

    public int getNumber() {
        return number;
    }

    public String getName() {
        return name;
    }

    public String getAdress() {
        return adress;
    }

    public String getSex() {
        return sex;
    }

    public int getAge() {
        return age;
    }

    public int getGradle() {
        return gradle;
    }

    public List<String> getCourse() {
        return course;
    }

    public boolean getis_sanhao() {
        return is_sanhao;
    }
}



